import zhCn from './zh-cn';
import en from './en';

const dict = {
  'zh-cn': zhCn,
  en: en,
};
const locales = (type = 'zh-cn') => dict[type];

export default locales;
